function playScreenShoot(){
    $(document).ready(function(){
        #("#play").click(function(){
            $.ajax({
			    url: 'hello',
			    type: 'GET',
			    dataType: 'html',
			    data: {typeFn : "play"} ,
			    success: function (data) {
				    alert("Start the screen shoot application");
			    },
			    error: function() {
				    alert('Error to start the screen shoot');
			    }
            });
      });
}

function stopScreenShoot(){
    $(document).ready(function(){
        #("#play").click(function(){
            $.ajax({
			    url: 'hello',
			    type: 'GET',
			    dataType: 'html',
			    data: {typeFn : "stop"} ,
			    success: function (data) {
				    alert("Start the screen shoot application");
			    },
			    error: function() {
				    alert('Error to start the screen shoot');
			    }
            });
      });
}
